<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title></title>
  <link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css">
</head>
<body>
    <h1 align="center" style="margin-right:20px">添加美食信息</h1>
<form method=post action="admin.php?c=food&m=add" enctype="multipart/form-data" class="form-horizontal">
    <div align="center"  class="table table-hover">

            <div class="form-group">
                <label  for="inputEmail3" class="col-sm-4 control-label">美食名</label>
                <div  class="col-sm-4">
                    <input type="text" name="foodname" placeholder="美食名" required  class="form-control">
                </div>
            </div>
            <div class="form-group">
                <label  for="inputEmail3" class="col-sm-4 control-label">类别</label>
                <div class="col-sm-4">
                    <select name="tid" class="form-control">
                        <option value="1">川菜</option>
                        <option value="2">徽菜</option>
                        <option value="3">鲁菜</option>
                        <option value="4">闽菜</option>
                        <option value="5">苏菜</option>
                        <option value="6">湘菜</option>
                        <option value="7">粤菜</option>
                        <option value="8">浙菜</option>

                    </select>
                </div>
            </div>

            <div class="form-group">
                <label  for="inputEmail3" class="col-sm-4 control-label">美食图片</label>
                <div class="col-sm-4">
                    <input class="form-control" type="file" name="pic" required>
                </div>
            </div>

            <div class="form-group">
                <label  for="inputEmail3" class="col-sm-4 control-label">美食简介</label>
                <div class="col-sm-4">
                    <textarea  class="form-control" rows="3" placeholder="美食介绍" name="intro"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-6">
                    <input type="submit" class="btn btn-success" value="添加">
                    <input type="reset" class="btn btn-primary" value="重置">
                </div>
            </div>
    </div>
</form>
</body>
</html>